package com.mmw.ruiji.mapper;

import com.mmw.ruiji.entity.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategoryMapper {
    public List<Category> getCategories();

    Integer addCategory(String name);

    Integer deleteCategory(Long id);
}
